<!DOCTYPE html>
<html lang="en">
<head>
{% load staticfiles %}
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="http://www.gome.com.cn/ec/homeus/favicon.ico">
    <title>国美TRP</title>
    <script src="/static/common/semidata/seajs/seajs/2.2.1/sea.js" id="seajsnode"></script>
    <script src="/static/common/semidata/config.js"></script>
    <script href="/static/common/bootstrap/js/bootstrap.min.js"></script>
    <link href="/static/common/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/trp/css/login.css" rel="stylesheet">
</head>

<body class="trpLoagin">
<div class="headbar"></div>
<div class="main">
    <div class="loginbox">
        <form class="form-signin" method="post" role="form" action="/trp/login/do_login">
            <strong class="title">登录</strong>
            <div class="item">
                <input name = "username" class="name" type="text" placeholder="用户名" required autofocus value="{{username}}">
            </div>
            <div class="item">
                <input name = "password"  class="password" type="password" placeholder="密码" required>
            </div>
            <div class="item">
                <label class="remember"><input id = "rememberBox" type="checkbox" >保持登录状态</label>
                <a class="forget" href="javascript:;">忘记密码？</a>
            </div>
            <input type="hidden" id = "remember" name="remember" value="{{remember}}">
            <div class="item">
                <input class="btn-submit" type="submit" value="登录">
            </div>
        </form>
    </div>
    <div class="chart"><img src="{% static 'trp/images/chart.jpg' %}" width="480" height="230"></div>
</div>
<script>
    seajs.use("{% static 'trp/js/login' "%}");
</script>
<div class="footer">
    <p>@2014 北京思明软件系统有限公司</p>
</div>
</body>
</html>